Offline Manager
An `offline manager` manages downloads and storage for style packages and also produces tileset descriptors for the `tile store`. All the asynchronous methods calls complete even if the `offline manager` instance gets out of scope before.
Constructors
OfflineManager
Link copied to clipboard
Construct a new `offline manager`.
Functions
createTilesetDescriptor
Link copied to clipboard
@NonNull()
Content copied to clipboard
Construct a new `tileset descriptor` for the `tile store`.Tileset descriptors are used by the `tile store` to create new offline regions.Resolving the created tileset descriptor includes loading and parsing the style and might includecreation or update of a style package - depending on the given options.
getAllStylePacks
Link copied to clipboard
getStylePack
Link copied to clipboard
open fun getStylePack(@NonNull() styleURI: String, @NonNull() callback: StylePackCallback)
Content copied to clipboard
getStylePackMetadata
Link copied to clipboard
open fun getStylePackMetadata(@NonNull() styleURI: String, @NonNull() callback: StylePackMetadataCallback)
Content copied to clipboard
loadStylePack
Link copied to clipboard
@NonNull()
Content copied to clipboard
@NonNull()
Content copied to clipboard
removeStylePack
Link copied to clipboard